package com.dagger.weapon.service;

import com.dagger.weapon.entity.ArticleContents;
import com.dagger.weapon.entity.SearchArticle;
import com.dagger.weapon.vo.ResultVO;

public interface ArticleContentService {

    //创建文章
    public ResultVO addArticleContent(ArticleContents goal);

    //查询文章列表
    public ResultVO searchArticles(SearchArticle params);

    //删除指定aid的文章
    public ResultVO deleteArticle(String aid);

    //查询指定aid的文章
    public ResultVO onlyArticle(String aid);

    //修改指定aid的文章
    public ResultVO updateArticle(ArticleContents aim);

}
